package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 代理商表 dailishang
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Dailishang extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 代理商Id */
	@Excel(name = "手机号码")
	private Integer dailishangId;
	/** 代理商账号 */
	@Excel(name = "代理商账号")
	private String account;
	/** 代理商密码*/
	private String password;
	/** 代理商位置 */
	@Excel(name = "代理商位置")
	private String weiZhi;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
	private Integer status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "备注")
	private String attribute;

	public void setDailishangId(Integer dailishangId) 
	{
		this.dailishangId = dailishangId;
	}

	public Integer getDailishangId() 
	{
		return dailishangId;
	}
	public void setAccount(String account) 
	{
		this.account = account;
	}

	public String getAccount() 
	{
		return account;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setWeiZhi(String weiZhi) 
	{
		this.weiZhi = weiZhi;
	}

	public String getWeiZhi() 
	{
		return weiZhi;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dailishangId", getDailishangId())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("weiZhi", getWeiZhi())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
